namespace Catastrophe.Common.AttributeEx
{
	public class ComOpcUaDataAttribute : ComDataAttribute
	{
		public bool IsMultiline { get; set; }

		public ComOpcUaDataAttribute()
		{
		}

		public ComOpcUaDataAttribute(string adr, string describe, OprTypeEnum oprType, AllowOprEnum allowOpr = AllowOprEnum.ReadAndWrite, bool isMultiline = false)
			: base(adr, CpuTypeEnum.UnDefine, DataTypeEnum.PropertyType, describe, oprType, allowOpr)
		{
			this.IsMultiline = isMultiline;
		}

		public ComOpcUaDataAttribute(string adr, CpuTypeEnum cpuType, DataTypeEnum dataType, string describe, OprTypeEnum oprType, AllowOprEnum allowOpr = AllowOprEnum.ReadAndWrite, bool isMultiline = false)
			: base(adr, cpuType, dataType, describe, oprType, allowOpr)
		{
			this.IsMultiline = isMultiline;
		}
	}
}
